<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/cooperation.css"/>
<script src="/js/seminar.js"></script>
<script type="text/javascript" src="/js/channel.js"></script>

<s:set name="fileName" value="%{channelInfoDetail.fileName}"/>
<s:set name="authCode" value="#session.authCode"/>
<s:set name="orgCode" value="#session.orgCode"/>
<s:set name="dCode" value="%{deskCode}"/>

<input type="hidden" id="channelSeq" name="channelSeq" value="<s:property value="channelSeq"/>"/>
<input type="hidden" id="pageNumber" name="pageNumber" value="<s:property value="pageNumber"/>"/>
<input type="hidden" id="deskCode" name="deskCode" value="<s:property value="deskCode"/>"/>
<input type="hidden" id="fileName" name="fileName" value="<s:property value="#fileName"/>"/>
<input type="hidden" id="fileSeq" name="fileSeq" value="<s:property value="%{channelInfoDetail.fileSeq}"/>"/>

<dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/cooperation/SubContents_Tit_01.gif" width="370" height="42" alt="협력채널 구축 실적" /></span> <span class="top_navi">HOME > 업무보고 > 협력채널 구축 실적</span></dd>
		<dd>&nbsp;</dd>
        <dd class="Right_Contents_SearchDate">마지막 수정일 : <span class="TEXT_Red_Bold"><s:property value="%{channelInfoDetail.modTime}"/></span></dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="viewboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="130px"><col width="244px"><col width="100px"><col width="244px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />관리번호</th>
                    <td class="Top_line"><s:property value="%{channelInfoDetail.manageNo}"/></td>
                    <th scope="row" class="Top_line"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />개최일자</th>
                    <td class="Top_line"><s:property value="%{channelInfoDetail.channelDate}"/></td> 
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />목&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;적</th>
                    <td colspan="3"><s:property value="%{channelInfoDetail.channelTitle}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;최</th>
                    <td colspan="3"><s:property value="%{channelInfoDetail.channelHost}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;관</th>
                    <td colspan="3"><s:property value="%{channelInfoDetail.channelSupervise}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />장&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;소</th>
                    <td colspan="3"><s:property value="%{channelInfoDetail.channelPlace}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참&nbsp;석&nbsp;자<br />&nbsp;&nbsp;&nbsp;&nbsp;(참여기업/기관)</th>
                    <td colspan="3"><s:property value="%{channelInfoDetail.attendCount}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참여기업/기관</th>
                    <td colspan="3"><textarea name="attendCompany" cols="90" rows="5" readonly><s:property value="%{channelInfoDetail.attendCompany}"/></textarea></td>
                  </tr>  
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주요논의사항</th>
                    <td colspan="3"><textarea name="discussIssue" cols="90" rows="5" readonly><s:property value="%{channelInfoDetail.discussIssue}"/></textarea></td>
                  </tr>  
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />향후계획</th>
                    <td colspan="3"><textarea name="futurePlan" cols="90" rows="5" readonly><s:property value="%{channelInfoDetail.futurePlan}"/></textarea></td>
                  </tr> 
                   <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참여기관 대상자</th>
                    <td colspan="3"><textarea name="attendSubject" cols="90" rows="5" readonly><s:property value="%{channelInfoDetail.attendSubject}"/></textarea></td>
                  </tr>                                                                        
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />첨부파일</th>
                    <td colspan="3" class="Bottom_line">
                    	<!--
                    	<c:if test="${!empty fileName}">
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="fileName"><s:property value="channelInfoDetail.fileName"/></s:param>
                       		<s:param name="filePath"><s:property value="channelInfoDetail.pathName"/></s:param>
                       	</s:url>
                       		<s:a href="%{download}" title="file"><s:property value="%{channelInfoDetail.fileName}" escape="false"/></s:a>
                    	</c:if>
                    	<c:if test="${empty fileName}">
                    		파일이 존재하지 않습니다.
                    	</c:if>
                    	-->
                    	
                    	<s:if test="%{channelInfoDetail.fileName != null}">
	                      		<form name="form_file_download" method="POST" action="/common/fileDownload.desk">
		                      		<input type="hidden" name="fileName" value="<s:property value="channelInfoDetail.fileName"/>"/>
		                      		<input type="hidden" name="filePath" value="<s:property value="channelInfoDetail.pathName"/>"/>
	                      		</form>
	                      		<img src="/images/notice/icon_file.gif" width="11" height="11" alt="첨부파일" /> 
	                      		<span class="download" style="cursor:pointer;"><s:property value="channelInfoDetail.fileName"/></span>
	                    </s:if>
                    </td>
                  </tr>
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/channel/channelList.desk?pageNumber=<s:property value="pageNumber"/>"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone">
             	<s:if test="#orgCode != 'KIPO'">
             		<s:if test="#session.deskCode == #dCode">
             			<a href="/channel/channelModifyForm.desk?channelSeq=<s:property value="channelSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/cooperation/btn_edit.gif" width="170" height="26" alt="협력채널 구축 실적 수정" /></a>&nbsp;<a href="#"><img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteChannel" name="deleteChannel"/></a>
             		</s:if>
             		<s:if test="#authCode == 'ADMIN_ORG'">
             			<a href="/channel/channelModifyForm.desk?channelSeq=<s:property value="channelSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/cooperation/btn_edit.gif" width="170" height="26" alt="협력채널 구축 실적 수정" /></a>&nbsp;<a href="#"><img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteChannel" name="deleteChannel"/></a>
             		</s:if>
             		<s:if test="#authCode == 'ADMIN'">
             			<a href="/channel/channelModifyForm.desk?channelSeq=<s:property value="channelSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/cooperation/btn_edit.gif" width="170" height="26" alt="협력채널 구축 실적 수정" /></a>&nbsp;<a href="#"><img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteChannel" name="deleteChannel"/></a>
            		</s:if>
            	</s:if>
             </dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>